@import './common.less';

.station-shortcut{
  .btn-hover();
  width: 94/@ppr;
  height: 94/@ppr;
  position: fixed;
  z-index: 501;
  right: 30/@ppr;
  bottom: 207/@ppr;
}

.station-list {
  background: #f5f5f8;

  .full-screen();
  background: @bg-color;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  .search-header {
    padding: 0 30/@ppr;
    height: 88/@ppr;
    background: #f2f2f2;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    .hairline(bottom, rgb(232, 234, 238));
    .header-title {
      color: rgb(92, 92, 92);
      font-size: 26/@ppr;
      font-weight: 500;
    }
    .input-view {
      flex: 1;
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      background: white;
      height: 54/@ppr;
      border-radius: 10/@ppr;
      border: 1px solid rgb(232, 234, 238);
      padding: 0 20/@ppr;
      .icon-trangle {
        font-size: 16/@ppr;
        color: rgb(92, 92, 92);
        margin: 0 14/@ppr;
      }
      .line {
        height: 24/@ppr;
        width: 1/@ppr;
        background: rgb(140, 143, 148);
      }
      .icon-search {
        font-size: 22/@ppr;
        color: rgb(153, 155, 160);
        margin: 0 16/@ppr;
      }
      .input {
        color: rgb(92, 92, 92);
        font-size: 24/@ppr;
        font-weight: 500;
      }
    }
    .cancel {
      margin-left: 24/@ppr;
      color: rgb(106, 106, 106);
      font-size: 26/@ppr;
      font-weight: 500;
    }
  }
  .header {
    padding: 0 30/@ppr;
    height: 90/@ppr;
    background: #f2f2f2;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    .hairline(bottom, rgb(232, 234, 238));
    .city {
      font-size: 28/@ppr;
      font-weight: 500;
      color: rgb(92, 92, 92);
      margin-left: 10/@ppr;
    }
    .icon-location {
      font-size: 36/@ppr;
      color: rgb(93, 93, 93);
      position: relative;
      left: -6/@ppr;
      &.active {
        color: #ff6655;
      }
    }
    .icon-list {
      font-size: 38/@ppr;
      color: rgb(92, 92, 92);
    }
    .input-view {
      background: white;
      height: 54/@ppr;
      flex: 1;
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      margin: 0 30/@ppr;
      border-radius: 10/@ppr;
      border: 1px solid rgb(232, 234, 238);
      padding: 0 20/@ppr;
      color: rgb(140, 143, 148);
      font-size: 28/@ppr;
      .icon-search {
        font-size: 22/@ppr;
        color: rgb(153, 155, 160);
        margin-right: 10/@ppr;
      }
    }
    .icon-map {
      font-size: 38/@ppr;
      color: rgb(92, 92, 92);
    }
  }
  .filter-view {
    background: white;
    height: 88/@ppr;
    padding: 0 0 0 30/@ppr;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    .hairline(bottom, rgb(232, 234, 238));
    .filter-cell {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      font-size: 28/@ppr;
      font-weight: 500;
      color: rgb(92, 92, 92);
      margin-right: 74/@ppr;
      .icon-trangle {
        font-size: 16/@ppr;
        margin-left: 10/@ppr;
      }
    }

    .ic-search-box{
      flex: 1;
      text-align: right;
      width: 33/@ppr;
      padding: 27.5/@ppr 30/@ppr;
    }

    .ic-search{
      width: 33/@ppr;
      height: 33/@ppr;
    }
  }
  .list {
    flex: 1;
    .scrollable();
    .footer {
      height: 100/@ppr;
      font-size: 22/@ppr;
      color: rgb(177, 177, 184);
      text-align: center;
      line-height: 100/@ppr;
    }

    &.listScrHide{
      overflow: hidden;
    }
  }
  .current-station {
    padding: 0 30/@ppr 1px 30/@ppr;
    background: #fff;
    margin-bottom: 20/@ppr;
    box-shadow: 0 3/@ppr 7/@ppr 0 rgba(92, 92, 92, 0.2);
    &.single{
      margin-bottom: 0;
    }
    .station-view {
      color: #5c5c5c;
      font-size: 26/@ppr;
      margin: 0 0 0 0;
      padding: 24/@ppr 0 20/@ppr 0;
      background: #fff;
      .station {
        color: #2e2e36;
        margin-left: 12/@ppr;
      }
    }
  }
  .station-cell {
    margin-bottom: 20/@ppr;
    box-shadow: 0px 3px 7px 0px rgba(92, 92, 92, 0.2);
    padding: 45/@ppr 35/@ppr;
    background: white;
    //.hairline(bottom, rgb(232, 234, 238));
    display: flex;
    //flex-direction: row;
    //justify-content: flex-start;
    //align-items: center;

    &.active {
      box-shadow: 0 4/@ppr 5/@ppr 0 rgba(255, 102, 85, 0.14);
      border: 1px solid #ff6153;
      //.hairline-remove(bottom);
      border-radius: 8/@ppr;

      &.single {
        margin-bottom: 20/@ppr;
      }
    }

    &.single {
      margin-bottom: 0;
    }

    .logoBox{
      width: 76/@ppr;
    }

    .logo {
      width: 100%;
    }

    .cell-body {
      flex: 1;
      margin-left: 30/@ppr;

      .title-row {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        font-weight: bold;
        font-size: 34/@ppr;
        line-height: 34/@ppr;
        color: #2e2e36;

        //.icon-tel {
        //  font-size: 28/@ppr;
        //  color: rgb(92, 92, 92);
        //  font-weight: normal;
        //  margin-left: 20/@ppr;
        //  position: relative;
        //  top: 2/@ppr;
        //}
      }

      .text {
        margin: 15/@ppr 0 0 0;
        padding: 0;
        color: #2e2e36;
        font-size: 28/@ppr;
        font-weight: 500;
        line-height: 30/@ppr;
        word-break: break-all;
      }

      .location{
        margin-top: 23/@ppr;
        height: 25/@ppr;
        line-height: 30/@ppr;
        font-size: 26/@ppr;
        color: #646464;
      }

      .ic_location{
        margin-right: 14/@ppr;
        position: relative;
        top: 1/@ppr;
        width: 16/@ppr;
        height: 21/@ppr;
      }
    }

    .cell-menu {
      margin-left: 30/@ppr;
      display: flex;
      flex-direction: column;
      justify-content: center;

      .payBtnBox{
        height: 55/@ppr;
        width: 120/@ppr;
      }

      .payBtn{
        .btn-hover();
        text-align: center;
        vertical-align: center;
        width: 240/@ppr;
        height: 110/@ppr;
        background-image: linear-gradient(-90deg, #ff8f4d 0%, #ff5654 100%);
        border-radius: 54/@ppr;
        font-size: 56/@ppr;
        line-height: 110/@ppr;
        color: #fff;
        transform: scale(0.5, 0.5);
        transform-origin: 0% 0%;
      }
      //.menu-title {
      //  font-size: 22/@ppr;
      //  color: rgb(92, 92, 92);
      //}
      //.menu-icon {
      //  font-size: 40/@ppr;
      //  color: #595959;
      //}
    }
  }
  .station-empty {
    flex: 1;
    text-align: center;
    color: rgb(177, 177, 184);
    font-size: 26/@ppr;
    font-weight: 500;
    padding: 0;
    margin: 34/@ppr;
    word-break: break-all;
  }
  .map {
    flex: 1;
  }
  .no-location {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    .icon {
      width: 133/@ppr;
      height: auto;
      margin-top: -200/@ppr;
      margin-bottom: 30/@ppr;
    }
    .text {
      font-size: 32/@ppr;
      font-weight: 500;
      color: rgb(92, 92, 92);
      word-break: break-all;
      padding: 0;
      margin: 0;
      line-height: 50/@ppr;
      text-align: center;
    }
  }
}

.station-filter-modal {
  background: rgba(0, 0, 0, 0.3);
  top: 0;
  &.station-filter-cq {
    top: 312/@ppr;
  }
  &.station-filter-qiji {
    top: 112/@ppr;
  }
  &.hideBanner {
    top: 112/@ppr;
  }
  justify-content: flex-start;
  flex-direction: column;
  align-items: stretch;

  .content {
    background: white;
    // width: 100%;
    padding: 40/@ppr 30/@ppr;
    .title {
      font-size: 32/@ppr;
      font-weight: 500;
      color: rgb(70, 70, 76);
      margin-bottom: 34/@ppr;
    }
    .option-view {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      flex-wrap: wrap;
      .option-cell {
        height: 60/@ppr;
        background: #f8f8f8;
        border-radius: 6/@ppr;
        width: 150/@ppr;
        margin-right: (90 / 4) /@ppr;
        color: rgb(46, 46, 54);
        font-size: 26/@ppr;
        font-weight: 500;
        line-height: 60/@ppr;
        text-align: center;
        &:last-child {
          margin-right: 0;
        }
        &.active {
          background: #ff6755;
          color: white;
        }
      }
    }
  }
}

.station-area-modal {
  background: rgba(0, 0, 0, 0.3);
  top: 112/@ppr;
  justify-content: flex-start;
  flex-direction: column;
  align-items: stretch;
  .content {
    background: white;
    height: 70%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    .p-list {
      width: 200/@ppr;
      background: #f2f2f2;
      .scrollable();
      .p-cell {
        height: 80/@ppr;
        text-align: center;
        line-height: 80/@ppr;
        .hairline(bottom, rgb(232, 234, 238));
        color: rgb(46, 46, 54);
        font-weight: 500;
        font-size: 26/@ppr;
        &.active {
          color: rgb(70, 70, 76);
          background: white;
          font-weight: bold;
        }
      }
    }
    .c-list {
      width: 208/@ppr;
      .scrollable();
      padding-left: 40/@ppr;
      .hairline(right, rgb(232, 234, 238));
      .c-cell {
        height: 80/@ppr;
        line-height: 80/@ppr;
        color: rgb(46, 46, 54);
        font-weight: 500;
        font-size: 26/@ppr;
        &.active {
          color: rgb(70, 70, 76);
          font-weight: bold;
        }
      }
    }
  }
  .a-list {
    flex: 1;
    .scrollable();
    padding-left: 40/@ppr;
    .a-cell {
      height: 80/@ppr;
      line-height: 80/@ppr;
      color: rgb(46, 46, 54);
      font-weight: 500;
      font-size: 26/@ppr;
      &.active {
        color: rgb(70, 70, 76);
        font-weight: bold;
      }
    }
  }
}

.station-no-match-modal {
  z-index: 999999;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  .content {
    background: white;
    border-radius: 6/@ppr;
    margin: 0 56/@ppr;
    padding: 36/@ppr 48/@ppr 50/@ppr 48/@ppr;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    .station-row {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      padding-bottom: 6/@ppr;
      .hairline(bottom, rgb(232, 234, 238));
      .logo {
        width: 40/@ppr;
        height: auto;
        margin-right: 10/@ppr;
      }
      .station {
        font-size: 26/@ppr;
        color: rgb(46, 46, 54);
      }
    }
    .icon {
      width: 84/@ppr;
      height: auto;
      align-self: center;
      margin-top: 40/@ppr;
    }
    .text {
      text-align: center;
      margin-top: 20/@ppr;
      color: rgb(46, 46, 54);
      font-size: 30/@ppr;
      font-weight: bold;
    }
    .btn-row {
      margin-top: 72/@ppr;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: stretch;
      .go-on, .re-choose {
        width: 250/@ppr;
        height: 60/@ppr;
        border-radius: 30/@ppr;
        text-align: center;
        // line-height: 60/@ppr;
        font-size: 30/@ppr;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }
      .go-on {
        color: rgb(146, 146, 146);
        border: 1px solid rgb(230, 230, 230);
      }
      .re-choose {
        color: white;
        background: rgb(255, 102, 85);
      }
    }
  }
}
